package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * OA组织机构表 sys_oa_org
 * 
 * @author ruoyi
 * @date 2020-03-10
 */
public class OaOrg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/**  */
	private String path;
	/**  */
	private String type;
	/**  */
	private Long parentId;
	/**  */
	private String tenantId;
	/**  */
	private String code;
	/**  */
	private String name;
	/**  */
	private String description;
	/**  */
	private String weight;
	/**  */
	private String rfcode;
	/**  */
	private String isdelete;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setPath(String path) 
	{
		this.path = path;
	}

	public String getPath() 
	{
		return path;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setParentId(Long parentId) 
	{
		this.parentId = parentId;
	}

	public Long getParentId() 
	{
		return parentId;
	}
	public void setTenantId(String tenantId) 
	{
		this.tenantId = tenantId;
	}

	public String getTenantId() 
	{
		return tenantId;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setWeight(String weight) 
	{
		this.weight = weight;
	}

	public String getWeight() 
	{
		return weight;
	}
	public void setRfcode(String rfcode) 
	{
		this.rfcode = rfcode;
	}

	public String getRfcode() 
	{
		return rfcode;
	}
	public void setIsdelete(String isdelete) 
	{
		this.isdelete = isdelete;
	}

	public String getIsdelete() 
	{
		return isdelete;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("path", getPath())
            .append("type", getType())
            .append("parentId", getParentId())
            .append("tenantId", getTenantId())
            .append("code", getCode())
            .append("name", getName())
            .append("description", getDescription())
            .append("weight", getWeight())
            .append("rfcode", getRfcode())
            .append("isdelete", getIsdelete())
            .toString();
    }
}
